package test.clone;

import java.io.Serializable;

/**
 * @author qiboshi
 * 
 */
public class DeepTypeClass implements Serializable {

	private int typeNumber;
	private String strType;

	/**
	 * @return the typeNumber
	 */
	public int getTypeNumber() {
		return typeNumber;
	}

	/**
	 * @param typeNumber
	 *            the typeNumber to set
	 */
	public void setTypeNumber(int typeNumber) {
		this.typeNumber = typeNumber;
	}

	/**
	 * @return the strType
	 */
	public String getStrType() {
		return strType;
	}

	/**
	 * @param strType
	 *            the strType to set
	 */
	public void setStrType(String strType) {
		this.strType = strType;
	}

	public String changeString() {
		return this.strType = "change str";
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "TypeClass [typeNumber=" + typeNumber + ", strType=" + strType + "]";
	}
}
